<%- unless [flash[:notice], flash[:error], flash[:success]].all? { |f| f.blank? } -%>
<div id="flash_message" class="span-22 append-1 prepend-1 last">
  <%- unless flash[:error].blank? -%><div class="error flash_message"><%= flash[:error] %></div><% end -%>
  <%- unless flash[:notice].blank? -%><div class="notice flash_message"><%= flash[:notice] %></div><% end -%>
  <%- unless flash[:success].blank? -%><div class="success flash_message"><%= flash[:success] %></div><% end -%>
</div>
<%- end -%>
